Product:    ISaGRAF V4.03/4.1x/4.2x
Date: 9-July-2001
File: Increasing Max. number of Resources.htm
Subject: How to increase the number of possible resources
Keywords: Resource – Limitation

____________________________________________________________________

To change the maximum number of resources for one ISaGRAF project, you can add / modify some startup configuration parameters.

This is done in different ways according to the target platform. For example, under NT this is done using entries defined in ini files.

Refer to the FAQ: "Startup Parameters" for more information on startup configuration parameters.

See at end of this FAQ, settings for Windows NT, OS9 and VxWorks.

Max Number of resources restriction areas:

If this option is missing or "ChNbr"" is incorrect, the following error appears:
* In DPM output window: "Error occured during the connection to resource. DTA Server system error 20000411."
* In DPM_SRV console application window:
[-1 20000411]
-1: DTA Server system error.
411: CRU: Channel table full

If this option is missing or "ResNbr" is not correct, following errors appear:
* In DPM output window: "Error occured during the connection to resource. Request has failed."
* In DTA_SRV console application window:
[-50 2000053F]
-50: Request has failed.
53F: IXL: Kernel problem in executing request.

If this option is missing or "CnxNbr" is not correct, following errors appear:
* In DPM output window: "Error occured during the connection to resource. Transport failed in ISaIXD."
* In DTA_SRV console application window:
[-16 20000539]
-16: ISaIXD: Transport failed in ISaIXD.
539: IXL: Cannot establish connection, maximum connection is reached.

If this option is missing or "CnxNbr" is incorrect, following errors appear:
* In output window of the DPM: "Error occured during the connection to resource. NET: Network Transport failed."
* In DTA_SRV console application window:
[-32 20000521]
-32: NET: Network Transport failed.
"521: ISXS: Cannot establish connection, no more free IXS connection available."

If this option is missing or "ChNbr" is not correct, following errors appear:
* In DPM output window:"Error occured during the connection to resource. A time-out occurs during connection."
* In DTA_SRV console application window:
[-16 20000513]
-16: ISaIXD: Transport failed in ISaIXD.
513: ISXL: Start dialog has failed.

____________________________________________________________________

Settings for the ISaGRAF Workbench (if you wish to launch 20 resources):

· Add in DTA.ini file, in [IXL] section, CnxNbr=42. ((20 resources +1 for CMG)*2)

· Add in ETCP.ini file, in [APP] section, ChNbr=84. ((20 resource +1 ) *4)

____________________________________________________________________

Settings for the ISaGRAF NT target or the simulator (if you wish to launch 20 resources):

· Add in ISAGRAF.ini file:

in section [APP], ResNbr = 20. This is to allow the configuration manager to launch 20 virtual machines.
in [IXL] section with CnxNbr=21. ((20 resources +1 for the CMG))
in [IXS] section with CnxNbr=46. ((20 resources +1 for CMG )*2) + 4 drivers
in [IXD] section with ChNbr=42. ((20 resources +1)*2)

____________________________________________________________________

Settings for the ISaGRAF VxWorks target (if you wish to launch 20 resources):

For VxWorks you have to use the putEnv command.

As under VxWorks, by default the configuration manager has no taskname if you launch it with standard script, you have to modify ISaGRAF.spt script as follows:

sp dcmgMain ==> TO BE REPLACED WITH
taskSpawn ("ISAGRAF", 100, VX_FP_TASK, 20000, dcmgMain, 0, 0, 0,0,0,0,0,0,0,0)
# NOTE:
# Parameters used with taskSpawn( ) are same as default one used with sp( )
# They may need to be adapted
### Use Serial link only, for workbench debugging
#argv = "-RSI=/tyCo/1:19200 -NoETCP"
#argc = 1
#sp (dcmgMain, argc, &argv) ==> TO BE REPLACED WITH
taskSpawn ("ISAGRAF", 100, VX_FP_TASK, 20000, dcmgMain, argc, &argv, 0,0,0,0,0,0,0,0)
# NOTE:
# Parameters used with taskSpawn( ) are same as default one used with sp( )
# They may need to be adapted

____________________________________________________________________

Settings for the ISaGRAF OS9 target (if you wish to launch 20 resources):

Idem VxWork with the command setenv instead of putEnv.

____________________________________________________________________

Copyright © 1999-2009 ICS Triplex ISaGRAF Inc. All rights reserved.